<tagLib name="html" />
<include file="Index:header" />
<div class="container">
      <div class="title_link">
          <a href="__APP__/">首页</a>><a href="__APP__/">公寓</a>><a href="__APP__/Hotel/listing/id/{$hotel.district}" title="上海{$hotel.district|getConfigVal='district'}酒店式公寓">{$hotel.district|getConfigVal='district'}</a>><a href="__APP__/Hotel/index/id/{$hotel.id}" title="上海{$hotel.name}">{$hotel.name}</a>>{$house.name}
        </div>
        <div class="inside_box">
          <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
            <div class="inside_content png">
              <div class="house_show_left">
                  <div class="house_name">
                      <h1>{$house.name}</h1>
                        <div class="picShow" style="margin-top:14px;">
                      <a href="#pic" title="{$house.name}" ><img src="{$house.logo.0.url|getTPImgUrl}" alt="{$house.name}" width="250" height="188"></a>                        </div>
                    </div>
                    <div class="house_price">
                      <div class="price_title">
                          <ul class="house_price_title">
                              <li>日租价</li>
                                <li>周租价</li>
                                <li>月租价</li>
                            </ul>
                            <ul class="house_price_show">
                              <li>￥{$house.day_price}</li>
                                <li>￥{$house.week_price}</li>
                                <li>￥{$house.month_price}</li>
                            </ul>
                            <span>
                              {$house.custom_price}
                            </span>
                            <ul class="house_table_box">
                              <li>
                                  <div class="house_table">
                                      <b>户型</b>{$house.layout|getConfigVal=layout}
                                    </div>
                                    <div class="house_table">
                                      <b>物业类型</b>{$house.prop_type|getProp_type}
                                    </div>
                                    <div class="house_table">
                                      <b>装修程度</b>{$house.fitment|getFitment}
                                    </div>
                                </li>
                                <li>
                                  <div class="house_table">
                                      <b>面积</b>{$house.area}
                                    </div>
                                    <div class="house_table">
                                      <b>预定情况</b>{$house.is_free}
                                    </div>
                                    <div class="house_table">
                                      
                                    </div>
                                </li>
                                <li>
                                  <div class="house_table" style="width:430px;">
                                      <b>所属公寓</b><a href="__APP__/Hotel/index/id/{$hotel.id}" title="{$hotel.name}">{$hotel.name}</a>
                                    </div>
                                </li>

                                <li>
                                  <div class="house_table" style="width:430px;">
                                      <b>预定要求</b>{$house.requirement}
                                    </div>
                                </li>
                                <li>
                                  <div class="house_table" style="width:430px;">
                                      <b>地址</b>{$hotel.address}
                                    </div>
                                </li>
                            </ul>
                            <div class="order_btn" style="text-align:left;">
                              <a rel="nofollow" class="order_btn_orange" href="__URL__/book/id/{$house.id}" title="立即预订" style="display:block; margin-left:155px;">&nbsp;&nbsp;立即预订&nbsp;&nbsp;</a>
                              
                            </div>
                      </div>
                    </div>
                </div>
                <div class="right_new_box">
                  <div class="right_new">


                      <div style="margin:0;" class="leftQuestion">
                    <h2 class="alphaimg1 png">联系我们</h2>
                    <div class="radius1"></div>
                    <div class="radius2"></div>
                    <div class="radius3"></div>
                    <div class="radius4"></div>
                    <div class="leftNew">
                      <div class="right_phone">
                        电话：021-62660009<br><br>
                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;021-62770636<br><br>
                        邮箱：info@okhome.cn<br><br>
                        q q ： 843802397<br><br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;843859068<br><br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;767310554<br><br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;453841349<br><br>
                           微信：okhome-cn<br><br>
                           <a rel="nofollow" href="__APP__/Index/ask/pid/{$house.id}/type/0" class="order_btn_orange" style="margin-top:10px;margin-left:25px;padding:0px; display:block;">点击留言
                          </a>
                        </div>
                    </div>
                    <div class="radius4"></div>
                    <div class="radius3"></div>
                    <div class="radius2"></div>
                    <div class="radius1"></div>
                </div>



                     
                </div>
                  
                </div>
                <div class="house_content_tab">
                    <ul class="tab_title">
                        <li >房型介绍</li>
                        <li class="on"><a name="pic">房屋照片</a></li>
                        <li>地图导航</li>
                        <li>同类房型</li>
                        <li>联系/留言</li>
                    </ul>
                    <div class="tab_content_box">
                        <div class="tab_content" >
                           <h3 class="tab_h2"> {$house.name}</h3> <br />
                            <ul>
                                <li class="long">配套设施：
                                      <eq name="house.is_tv" value="1">彩电</eq>
                                      <eq name="house.is_freezer" value="1">冰箱</eq>
                                      <eq name="house.is_ac" value="1">空调</eq>
                                      <eq name="house.is_washing" value="1">洗衣机</eq>
                                      <eq name="house.is_calorifier" value="1">热水器</eq>
                                      <eq name="house.is_microwave" value="1">微波炉</eq>
                                      <eq name="house.is_internet" value="1">宽带</eq>
                                      <eq name="house.is_dvd" value="1">DVD</eq>
                                      <eq name="house.is_kitchen" value="1">厨房</eq>
                                      <eq name="house.is_bathroom" value="1">独立卫生间</eq>
                                      <eq name="house.is_wc" value="1">合用卫生</eq>
                                 </li>
                            </ul>
                            <br />
                            <h3 class="tab_h2">房型说明</h3>
                            <p>{$house.description} </p><br />
                            <h3 class="tab_h2">配套服务</h3>
                            <p>{$house.service} </p><br />
                            <h3 class="tab_h2">补充说明</h3>
                            <p>{$house.otherinfo}</p>

                        </div>
                        <div class="tab_content" style="display:block;">
                            <ul>
                                <volist name="house.pic" id="img">
                                       <li>
                                               <img alt="{$house.name}" src="{$img.url|getTPImgUrl}">
                                       </li>
                                   </volist>
                            </ul>
                        </div>
                        <div class="tab_content">
                            公寓地址：{$hotel.address}<br />
                            <eq name="bdmap" value="1"><div id="bdmap"></div></eq>
                        </div>
                        <div class="tab_content">
                            <empty name="houseList">
                             暂无其他同类房型
                             <else/>
                             <ul class="png">
                                 <volist name="houseList" id="hlist">
                                     <li class="png">
                                         <a href="__URL__/index/id/{$key}">{$hlist}</a>
                                     </li>
                                 </volist>
                             </ul>
                         </empty>

                            
                        </div>
                        <div class="tab_content">
                          <p style="margin-bottom: 15px;">{$house.contact}</p>
                          <a rel="nofollow" href="__APP__/Index/ask/pid/{$house.id}/type/0" class="order_btn_orange" style="margin-top:10px;padding:0px; display:block;">点击留言
                          </a>
                          
                          <volist name="message" id="msg">
                             <div class="borbot">
                                 <span>会员：<font style="color:#666; font-weight:normal;">{$msg.member_id|getModelName=Member}</font>&nbsp;&nbsp;&nbsp;&nbsp;时间：<font style="color:#666; font-weight:normal;">{$msg.create_time|toDate}</font></span>

                                 <span style="font-weight:normal; color:#666; padding-bottom:10px; margin-top:14px;"><font style="font-weight:bold;">咨询内容：</font>{$msg.content}</span>
                            <span style="font-weight:normal; color:#666;"><font style="font-weight:bold;">客服回复：</font>{$msg.id|getAnswerInfo|default="暂无回复"}</span>
                            </div>
                                 
                         </volist>

                          
                        </div>
                    </div>
                </div>
      </div>
            <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
    </div>

    <include file="Index:footer" />
<script type="text/javascript" src="__PUBLIC__/Js/share.js" charset="gb2312"></script>
<script type="text/javascript">
    function jdPshowRecommend(url,stype) {
        var title = "{$hotel.name}";
        var content = "我在@上海好家服务公寓 发现了一个非常不错的公寓：{$hotel.name}。感觉不错，分享一下";
        var img ="http://www.okhome.cn/{$house.logo.0.url|getTPImgUrl}";
        var productUrl ="http://www.okhome.cn/House/index/id/{$hotel.id}";
        var pin = readCookie("pin")||"";
        if (stype == "qzone") {
            url = url + "&title=" + content + "&pic=" + img + "&url=" + productUrl + pin;
        }
        if (stype == "sina") {
            url = url + "&title=" + encodeURIComponent(content) + "&pic=" + encodeURIComponent(img) + "&url=" + encodeURIComponent(productUrl) + pin;
            PostSinaDate();
            window.open(url, "", "height=500, width=600");
        }
        if (stype == "renren") {
            url = url + "title=" + title +"&content="+ content + "&pic=" + img + "&url=" + productUrl + pin;
        }
        if (stype == "kaixing") {
            url = url + "rtitle=" + title + "&rcontent=" + content + "&rurl=" + productUrl + pin;
        }
        if (stype == "douban") {
            url = url + "title=" + title + "&comment=" + content + "&url=" + productUrl + pin;
        }
        if (stype == "MSN") {
            url = url + "url=" + productUrl + pin + "&title=" + title + "&description=" + content + "&screenshot=" + img;
        }
        if (stype != "sina") {
            window.open(encodeURI(url), "", "height=500, width=600");
        }
    }

    //新浪分享POST数据
    function PostSinaDate() {
        var id = $("#name").attr("PshowSkuid");
        var getCommentUrl = "http://www.okhome.cn/House/index/id/{$house.id}";
        $.getJSONP(getCommentUrl, CallBackGetCommentCount);
    }
    function CallBackGetCommentCount(result) {
        var grade = 5, rev_amount = 0;
        if (result) {
            grade = result.AverageScore;
            rev_amount = result.CommentCount
        }
        var id = $("#name").attr("PshowSkuid");
        var sinarecommendurl = "http://www.okhome.cn/House/index/id/{$house.id}"
        $.getJSON(sinarecommendurl.format(id, grade, rev_amount), function(data) { if (!data) return; });
    }
</script>
   
